package com.example.consumerone.hystrix;

import com.example.consumerone.services.TestService;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public class TestServiceHystrix implements TestService {
    @Override
    public String say() {
        return "容错机制";
    }

    @Override
    public String testGet() {
        return "容错机制";
    }

    @Override
    public Map text() {
            return null;
    }
}
